package cn.gjculture.shopping.api.service;

import cn.gjculture.shopping.api.entity.Activity;
import cn.gjculture.shopping.api.entity.Discount;

import java.util.List;

public interface DiscountService {
    int insertDiscounts(Activity activity);

    List<Discount> getByActivityId(String activityId);

    int deleteByActivitys(List<String> activitys);

    int deleteByActivity(String activityId);
}
